package com.yc.backstage.mapper;

import com.yc.backstage.entity.SysDictType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @Classname SysDictTypeController
* @Description
* @Version 1.0.0
* @Date 2022-08-23 11:49:19
* @Created by Mikechen
*/
@Mapper
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    /**
     * 根据字典类型ID查询信息
     *
     * @param dictId 字典类型ID
     * @return 字典类型
     */
     SysDictType selectDictTypeById(Long dictId);
    /**
     * 根据字典type查询信息
     *
     * @param dictType 字典类型ID
     * @return 字典类型
     */
    SysDictType selectDictTypeByType(String dictType);
}
